<select id="<?php echo $fieldName ?>" name="<?php echo $fieldName ?>">
	<?php foreach ($files as $file) { ?>
			<option value="<?php echo $file ?>"><?php echo $file ?></option>
	<?php } ?>
</select>